🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / domain / src / commonMain / kotlin / org / meshtastic / core / domain / usecase / session / EnsureSessionResult.kt
Displaying Raw • Download
core/domain/src/commonMain/kotlin/org/meshtastic/core/domain/usecase/session/EnsureSessionResult.kt 2d20cd8a4708e2ef66e98d5259f3a97ec93f240a (2d20cd8a) Text, 1.74 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.domain.usecase.session
T8b949e/**
* Transient outcome of a single call to [EnsureRemoteAdminSessionUseCase]. This is the *event* the UI reacts to
* (snackbar / navigate / disable button) — distinct from the durable `SessionStatus` flow used by chips and gates.
*/
Tff7b72sealed Tff7b72interface T56d364EnsureSessionResult Tb4b4b4{
T8b949e/** A fresh session was already on file; no admin packet was sent. */
Tff7b72data Tff7b72object T56d364AlreadyActive Tb4b4b4: Te6edf3EnsureSessionResult
T8b949e/** A metadata request was dispatched and a passkey-bearing response was observed within the UX deadline. */
Tff7b72data Tff7b72object T56d364Refreshed Tb4b4b4: Te6edf3EnsureSessionResult
T8b949e/**
* The metadata request was dispatched but no response arrived within the UX deadline. The request is still in
* flight and a late response will still update the durable `SessionStatus` flow.
*/
Tff7b72data Tff7b72object T56d364Timeout Tb4b4b4: Te6edf3EnsureSessionResult
T8b949e/** The radio is not in [org.meshtastic.core.model.ConnectionState.Connected]; no packet was sent. */
Tff7b72data Tff7b72object T56d364Disconnected Tb4b4b4: Te6edf3EnsureSessionResult
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.05s